﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AddPartnerUc.ascx.cs" Inherits="VCN.admin.UC.AddPartnerUc" %>
<%@ Register Src="UploadUc.ascx" TagName="UploadUc" TagPrefix="uc1" %>
<link href="/admin/Style/General.css"  rel="stylesheet" type="text/css" />
<link href="/admin/Style/csspagenews.css" rel="stylesheet" type="text/css" />
<style type="text/css">
    .style2
    {
        height: 35px;
        padding-left: 10px;
    }
</style>
<span class="lblheader">THÊM/SỬA LOGO</span>
    <hr style="margin-bottom: 20px" />
<div id="addPartnerUc">
    <table cellspacing="0" cellpadding="2" style="width: 100%;" class="cssTable" border="0">
    <tr>
    <td colspan="3"><asp:label id="lblMsg" runat="server" CssClass="cssManField" /></td>
    </tr>
        <tr>
            <td align="left" class="style2">
                <asp:Label ID="lbl_diachigv1" CssClass="cssManField" runat="server" Text="Kiểu" />
            </td>
            <td align="left" colspan="1">
                <asp:DropDownList ID="drdtype" runat="server">
                    <asp:ListItem Value="0">Logo công ty</asp:ListItem>
                    <asp:ListItem Value="2">Logo đối tác</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td align="left" style="width: 1%;">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="left" style="width: 18%; padding-left: 10px; height: 35px;" class="style2">
                <asp:Label ID="lblTeacherCode" CssClass="cssManField" runat="server" Text="Tên mô tả" />
            </td>
            <td align="left" colspan="1">
                <asp:TextBox ID="txtName" Width="80%" CssClass="csstexttieude" runat="server"></asp:TextBox>
                &nbsp;(*)
                <asp:RequiredFieldValidator ID="m_rfv_teacher_name0" runat="server" ControlToValidate="txtName"
                    ErrorMessage="Tiêu đề tiếng Việt không được để trống" Text="*"></asp:RequiredFieldValidator>
            </td>
            <td align="left" style="width: 1%;">
            </td>
        </tr>        
        
        <tr>
            <td align="left" style="width: 18%; padding-left: 10px; height: 35px;" class="style2">
                <asp:Label ID="Label3" CssClass="cssManField" runat="server" Text="Địa chỉ liên kết" />
            </td>
            <td align="left" colspan="1">
                <asp:TextBox ID="txtLinkWebsite" Font-Bold="true" runat="server" Width="250" MaxLength="700"
                    Text="#"></asp:TextBox>
            </td>
            <td align="left" style="width: 1%;">
            </td>
        </tr>
        <tr>
            <td align="left" class="style2" style="padding-top: 35px;">
                <asp:Label ID="lblName" CssClass="cssManField" runat="server" Text="Ảnh" />
            </td>
            <td align="left" class="style3">
                <asp:CheckBox ID="chkUseStatus" runat="server" Text="Dùng ảnh cũ" Visible="false" />
                &nbsp;(kiểu file: jpg,jpeg,swf,gif,png)
                <br />
                <asp:Label runat="server" ID="logoNotNull"></asp:Label>
                <br />
                <uc1:UploadUc ID="UploadObj" runat="server" />
            </td>
            <td align="left" style="width: 1%;">
                &nbsp;
            </td>
            <td align="right" class="style1">
                &nbsp;
            </td>
            <td align="left" style="width: 1%;">
                &nbsp;
            </td>
            <td align="right" class="style1">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="left" class="style2">
                <asp:Label ID="lbl_diachigv0" CssClass="cssManField" runat="server" Text="Trạng thái" />
            </td>
            <td align="left" colspan="1">
                <asp:DropDownList ID="drdstatus" runat="server" Height="24px" Width="149px">
                    <asp:ListItem Value="0">Hoạt động</asp:ListItem>
                    <asp:ListItem Value="1">Không hoạt động</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td align="left" style="width: 1%;">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="left" style="width: 18%; padding-left: 10px; height: 35px;" class="style2">
                <asp:Label ID="Label2" CssClass="cssManField" runat="server" Text="Vị trí" />
            </td>
            <td align="left" colspan="1">
                <asp:TextBox ID="txtViTri" Width="39px" CssClass="csstexttieude" runat="server"></asp:TextBox>                
            </td>
            <td align="left" style="width: 1%;">
            </td>
        </tr>
        <tr><td></td><td></td></tr>
        <tr><td></td><td></td></tr>
        <tr>
            <td align="center">
                <asp:Button ID="m_cmd_luu_du_lieu" CssClass="cssButton" runat="server"
                    Width="98px" Text="Lưu dữ liệu"
                    Height="24px" onclick="m_cmd_luu_du_lieu_Click1"/>
            </td>
            <td align="left" style="width: 50%">
                <asp:Button ID="m_cmd_thoat" CssClass="cssButton" runat="server" Width="98px" Text="Thoát"
                    CausesValidation="false" Height="25px" onclick="m_cmd_thoat_Click" />
            </td>
        </tr>
    </table>
</div>

